package indi.jp.project.business.device.dao;

import indi.jp.project.business.device.entity.DeviceMaintain;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;
import java.util.List;

/**
 * 设备维修DAO
 *
 * @author jiangping
 * @date 2022/5/16
 */
@Mapper
public interface DeviceMaintainDAO {

    List<DeviceMaintain> queryList(DeviceMaintain query) throws SQLException;

    int queryCount(DeviceMaintain query) throws SQLException;

    int insert(DeviceMaintain entity) throws SQLException;

    int update(DeviceMaintain entity) throws SQLException;

    int deleteById(String id) throws SQLException;

    DeviceMaintain findById(String id) throws SQLException;

}
